extends Node
class_name 基础树状态类

func 进入(_data:Dictionary={}) -> void:
	pass

func 离开() -> void:
	pass

func 切换状态(state_name: StringName, _data:Dictionary={}) -> void:
	get_parent().切换状态(state_name,_data)

func _process(_delta: float) -> void:
	pass

func _physics_process(_delta: float) -> void:
	pass

func on_input(_event: InputEvent):
	pass

func on_gui_input(_event: InputEvent):
	pass
